package quotation.web.user.ddd.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import quotation.global.BaseEntity;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author lyx
 * @date 2023/6/19
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "user")
@Builder
public class UserEntity extends BaseEntity {

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "密码的md5值")
    private String passwd;

    @ApiModelProperty(value = "用户名")
    private String name;

    @ApiModelProperty(value = "微信openId")
    private String openId;

    @ApiModelProperty(value = "用户类型,0:普通用户(无操作权限)，1:受邀用户(可以查询报价)，9:管理员")
    private Integer usertype;

    @ApiModelProperty(value = "邀请完成时间")
    private LocalDateTime invitationDate;


}
